
//直播
import request from '@/utils/request'


/***---------------------------房间管理员 ---------------------------------------- */
// 管理员列表
export function listRoomManagerAnaly(params) {
    return request({
      url: '/analy/system/roomManagerAnaly/list',
      method: 'get',
      params
    })
  }
  
  // 新增管理员
  export function addRoomManager(data) {
    return request({
      url: '/socketIo/system/roomManager/add',
      method: 'post',
      data
    })
  }

  //删除管理员
export function delRoomManager(params) {
    return request({
      url: '/socketIo/system/roomManager/delete',
      method: 'post',
      params
    })
  }

  /***---------------------------主播 ---------------------------------------- */
// 主播列表
export function listAppAnchorAnaly(params) {
    return request({
      url: '/analy/system/appAnchorAnaly/list',
      method: 'get',
      params
    })
  }
  
  // 新增主播
  export function addAppAnchor(data) {
    return request({
      url: '/socketIo/system/appAnchor/add',
      method: 'post',
      data
    })
  }

  //删除主播
export function delAppAnchor(params) {
    return request({
      url: '/socketIo/system/appAnchor/delete',
      method: 'post',
      params
    })
  }


    /***---------------------------直播间 ---------------------------------------- */
// 直播间列表
export function listLiveRoomAnaly(params) {
    return request({
      url: '/analy/system/liveRoomAnaly/list',
      method: 'get',
      params
    })
  }
  
  // 新增直播间
  export function addLiveRoom(data) {
    return request({
      url: '/socketIo/system/liveRoom/add',
      method: 'post',
      data
    })
  }

  // 编辑直播间
  export function editLiveRoom(data) {
    return request({
      url: '/socketIo/system/liveRoom/update',
      method: 'post',
      data
    })
  }


    /***--------------------------- 禁言列表 ---------------------------------------- */
// 禁言列表
export function listChatBlackAnaly(params) {
    return request({
      url: '/analy/system/chatBlackAnaly/list',
      method: 'get',
      params
    })
  }
  

  //删除主播
export function delChatBlack(params) {
    return request({
      url: '/socketIo/system/chatBlack/delete',
      method: 'post',
      params
    })
  }